package com.aat.dizena.base.service.impl;

import java.util.*;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.aat.dizena.base.bean.UserRess;
import com.aat.dizena.base.dao.UserRessDao;
import com.aat.dizena.base.service.UserRessService;

@Service
public class UserRessServiceImpl  implements UserRessService {

    @Autowired
    private UserRessDao userressDao;

    public int addBean(UserRess bean){
        return userressDao.addBean(bean);
    }

    public int updateBean(UserRess bean){
        return userressDao.updateBean(bean);
    }

    public int deleteBean(String id){
        return userressDao.deleteBean(id);
    }

    public UserRess queryBean(String id){
        return userressDao.queryBean(id);
    }

    public List<UserRess> queryAll(Map<String, Object> map){
        return userressDao.queryAll(map);
    }

    public long queryCount(Map<String, Object> map){
        return userressDao.queryCount(map);
    }

}
